<table id="role_table" ref="SrvRole" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"srId")||fields=="*"||(!fields && true)}}' tdid="1" ref="srId"   title="编号">编号
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"srName")||fields=="*"||(!fields && true)}}' tdid="2" ref="srName" flagKey='true'  title="角色名称">角色名称
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"srFlag")||fields=="*"||(!fields && true)}}' tdid="3" ref="srFlag"   title="角色标识">角色标识
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"srProfile")||fields=="*"||(!fields && true)}}' tdid="4" ref="srProfile"   title="角色描述">角色描述
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"srUpdateTime")||fields=="*"||(!fields && true)}}' tdid="5" ref="srUpdateTime"   title="修改时间">修改时间
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"srAddTime")||fields=="*"||(!fields && true)}}' tdid="6" ref="srAddTime"   title="添加时间">添加时间
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"srStatus")||fields=="*"||(!fields && true)}}' tdid="7" ref="srStatus"   title="状态">状态
			 </td>
			<td  width="105"  class="operation" tdid="8" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.srId}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.srId}}"/>
			</td>
			 
				<td lz:if='{{lz.idin(fields,"srId")||fields=="*"||(!fields && true)}}' ref="srId" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.srId$ || item.srId}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"srName")||fields=="*"||(!fields && true)}}' ref="srName" class="inc {{index%2==0?'odd':'even'}} td  node">
					 
					 
					 	{{item.srName$ || item.srName}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"srFlag")||fields=="*"||(!fields && true)}}' ref="srFlag" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.srFlag$ || item.srFlag}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"srProfile")||fields=="*"||(!fields && true)}}' ref="srProfile" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.srProfile$ || item.srProfile}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"srUpdateTime")||fields=="*"||(!fields && true)}}' ref="srUpdateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.srUpdateTime$ || item.srUpdateTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"srAddTime")||fields=="*"||(!fields && true)}}' ref="srAddTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.srAddTime$ || item.srAddTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"srStatus")||fields=="*"||(!fields && true)}}' ref="srStatus" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.srStatus$ || item.srStatus}}
				</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/permissions/role.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				<a lz:if="{{canDel}}" onclick="deleteRole('{{item.srId}}','{{item.srName}}')" href="javascript:void(0);">删除</a>
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/permissions/role.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>